<template>
  <section>
    <el-tabs v-model="tabPage">
      <el-tab-pane label="card列表" name="first">
        <e-card-list v-if="tabPage=== 'first'"/>
      </el-tab-pane>
      <el-tab-pane label="card消费" name="second">
        <e-card-service v-if="tabPage=== 'second'"/>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import eCardService from './eCardService'
  import eCardList from './eCardList'
  export default {
    name: "index",
    components:{eCardList,eCardService},
    data(){
      return{
        tabPage:'first'
      }
    }
  }
</script>

<style scoped>

</style>
